Optimal. Leaf size=36 \[ \frac {2 a^2 c^3 \cos ^5(e+f x)}{5 f (c-c \sin (e+f x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2736, 2673} \[ \frac {2 a^2 c^3 \cos ^5(e+f x)}{5 f (c-c \sin (e+f x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2736
Rubi steps
\begin {align*} \int (a+a \sin (e+f x))^2 \sqrt {c-c \sin (e+f x)} \, dx &=\left (a^2 c^2\right ) \int \frac {\cos ^4(e+f x)}{(c-c \sin (e+f x))^{3/2}} \, dx\\ &=\frac {2 a^2 c^3 \cos ^5(e+f x)}{5 f (c-c \sin (e+f x))^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.23, size = 73, normalized size = 2.03 \[ \frac {2 a^2 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^5}{5 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 114, normalized size = 3.17 \[ -\frac {2 \, {\left (a^{2} \cos \left (f x + e\right )^{3} + 3 \, a^{2} \cos \left (f x + e\right )^{2} - 2 \, a^{2} \cos \left (f x + e\right ) - 4 \, a^{2} + {\left (a^{2} \cos \left (f x + e\right )^{2} - 2 \, a^{2} \cos \left (f x + e\right ) - 4 \, a^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt {-c \sin \left (f x + e\right ) + c}}{5 \, {\left (f \cos \left (f x + e\right ) - f \sin \left (f x + e\right ) + f\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.64, size = 49, normalized size = 1.36 \[ -\frac {2 \left (\sin \left (f x +e \right )-1\right ) c \left (1+\sin \left (f x +e \right )\right )^{3} a^{2}}{5 \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sin \left (f x + e\right ) + a\right )}^{2} \sqrt {-c \sin \left (f x + e\right ) + c}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int {\left (a+a\,\sin \left (e+f\,x\right )\right )}^2\,\sqrt {c-c\,\sin \left (e+f\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ a^{2} \left (\int 2 \sqrt {- c \sin {\left (e + f x \right )} + c} \sin {\left (e + f x \right )}\, dx + \int \sqrt {- c \sin {\left (e + f x \right )} + c} \sin ^{2}{\left (e + f x \right )}\, dx + \int \sqrt {- c \sin {\left (e + f x \right )} + c}\, dx\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________